package com.flmz.mq.mqserver.core;

// 表示三种交换机的类型

import lombok.Getter;

@Getter
public enum ExchangeType {
    DIRECT(0),
    FANOUT(1),
    TOPIC(2);

    private final int type;

    private ExchangeType(int type) {
        this.type = type;
    }

}
